package homework.test02;

import java.util.HashMap;
import java.util.Map;
import java.util.function.BiConsumer;

public class demo01 {
    public static void main(String[] args) {
//        HashMap<HashMap<String,String>> map_w = new HashMap<>();
        HashMap<String, Map<String,String>> classMap = new HashMap<>();
        HashMap<String,String> se = new HashMap<>();
        se.put("001","李晨");
        se.put("002","范冰冰");
        HashMap<String,String> ee = new HashMap<>();
        ee.put("001","马云");
        ee.put("002","马化腾");

        classMap.put("java基础班",ee);
        classMap.put("java就业班",se);

        classMap.forEach((k, v1) -> v1.forEach((k2, v2) -> System.out.println(k+"\t" +k2+" " + v2)));
    }
}
